package com.luguangtao.web;

import com.luguangtao.api.ClientApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @类名: com.luguangtao.web
 * @作者: lgt
 * @创建时间: 2019-12-06 08:51
 * @描述:
 **/
@RestController
public class ClientController {
    @Autowired
    ClientApi clientApi;

    @RequestMapping("test02")
    public String test02(){
        String s = clientApi.test01();
        if(s.equals("tt")){
            return "ok~~~~";
        }
        return s;
    }
}
